package com.lyh.crm.settings.service;

import com.lyh.crm.settings.domain.DicType;
import com.lyh.crm.settings.domain.DicValue;

import java.util.List;
import java.util.Map;

public interface DicService {
    Map<String, List<DicValue>> getAll();

    List<DicType> getAll2();

    List<DicValue> getValueByCode(String typeCode);

    List<DicValue> getAllValue();

    boolean save(DicType dt, DicValue dv, String typeDic);

    boolean deleteByIds(String[] codes, String[] ids);

    Map<String, Object> getDicType(String code, String id, String typeDic);

    boolean update(DicType dt, DicValue dv, String typeDic);


    //List<Map<String, List<Object>>> getAll3();
}
